﻿@model List<LTSMZ.life.Model.Role>
@{
    ViewBag.Title = "AdminRole";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<link href="~/Content/BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />
<script src="~/Content/BootstrapSouce/js/jquery.min.js"></script>
<script src="~/Content/BootstrapSouce/js/bootstrap.min.js"></script>


<button class="btn btn-small btn-danger"><span class="glyphicon glyphicon-trash"></span>批量删除</button>
<button class="btn btn-small btn-info" data-toggle="modal" data-target="#myModal"><span class="glyphicon glyphicon-plus"></span>添加</button>
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">
            角色管理
        </h3>
    </div>
    <div class="panel-body">
        <table class="table table-hover table-bordered laydate_table">
            <thead>
                <tr>
                    <td>编号</td><td>角色名</td><td>用户列表</td><td>描述</td><td colspan="2">操作</td>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>@item.RoleID</td>
                        <td>@item.RoleName</td>
                        <td>@item.UserName</td>
                        <td>@item.PermissionName</td>
                        <td><a class="glyphicon glyphicon-edit"></a></td>
                        <td><a class="glyphicon glyphicon-trash"></a></td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
</div>

